from jwt import encode


def mock_token(aud: str, key: str = 'default_key',
               algorithm: str = 'HS256') -> str:
    return encode({'aud': aud}, key, algorithm=algorithm)
